package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {

	router := gin.Default()
	router.POST("/add", api.VideoAdd)
	router.POST("/madd", api.MemberAdd)
	router.POST("/upload", api.Upload)
	router.GET("/list", api.MemberList)
	router.GET("/")
	return router
}
